<?php
/**
 * @desc Created by PhpStorm.
 * @author: wang
 * @Date: 2020/1/30 18:06
 */

return [
    'lay_table' => 0, //layui数据表格专用
    'success' => 1, //通用成功
    'error' => 10001,   //通用错误
    'not_found_action' => 10002,   //控制器不存在
    'not_found_method' => 10003,   //方法不存在
    'not_login' => 10004,   //未登录
    'username_error' => 10005,  //用户名错误
    'password_error' => 10006,  //用户密码错误
    'user_is_register' => 10007,    //用户已被注册
    'code_error' => 10009,    //验证码错误

    //mysql相关的状态配置
    'mysql' => [
        'table_normal' => 1, //正常
        'table_pedding' => 0, //待审核
        'table_delete' => 99, //删除
        'limit' => 15, //数据查询条数
    ]
];